#ifndef FORM_CLIENT_H
#define FORM_CLIENT_H

#include <QWidget>
#include "mainchat.h"

namespace Ui {
class Form_client;
}

class Form_client : public QWidget
{
    Q_OBJECT

public:
    explicit Form_client(QWidget *parent = 0);
    mainchat *chat=NULL; //保持mainchat地址

    ~Form_client();

signals:
    void sendipData(QString); //发送数据ip的信号
signals:
    void sendportData(QString); //发送数据port的信号
signals:
    void sendmyname(QString); //发送myname的信号

private slots:
    void receiveridData(QString iddata);

    void getipData(QString data);
    void getportData(QString data);

    void on_close_clicked();

    void on_min_clicked();

private:
    Ui::Form_client *ui;

    QVector<bool> isshow;
    QVector<bool> isshow2;
};

#endif // FORM_CLIENT_H
